package trading_strategy.events;

import trading_strategy.instruments.ListedInstrument;

/**
 * Created by IntelliJ IDEA.
 * User: gderoujoux
 * Date: 6 mai 2010
 * Time: 10:42:58
 * To change this template use File | Settings | File Templates.
 */
public class OrderBookUpdate extends InstrumentEvent {
    OrderBook book;

    public OrderBookUpdate(ListedInstrument instrument, OrderBook book, long ts) {        
        super(instrument, ts);
        if (instrument.getId() == 3) {
            int i = 0;
        }
        this.book = book;
    }

    public OrderBook getBook() {
        return book;
    }
}
